package AccionBoton;

import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;

import modelUtil.Configuracion;

public class AccionSeleccionarMostrarCreditos implements ItemListener{

	
	public void itemStateChanged(ItemEvent e){
		
		if(e.getStateChange() == ItemEvent.SELECTED){
			
			Configuracion.instancia().setCreditos("No");
		}
		if(e.getStateChange() == ItemEvent.DESELECTED){
			
			Configuracion.instancia().setCreditos("Si");

			
		}
		
	}
}
